//
//  WeatherDefines.h
//  iWeather
//
//  Created by Hanh Vo on 9/15/13.
//  Copyright (c) 2013 Vo Thi My Hanh (FSU1.BU19). All rights reserved.
//

#ifndef iWeather_WeatherDefines_h
#define iWeather_WeatherDefines_h


//GENERAL
#define Debug_Mode

#if !defined(Debug_Mode)
#define DebugLog(...) do {} while (0)
#else
#define DebugLog(...) NSLog(__VA_ARGS__)
#endif


//GOOGLE
#define GOOGLE_IMAGE_LINK @"htts://ajax.googleapis.com/ajax/services/search/images?v=1.0&q="

// THE WEATHER CHANNEL API : http://www.wunderground.com/weather/api/d/eafd0662705113f2/edit.html

#define THE_WEATHER_CHANNE_KEY @"c87d2a6482e8bc7a"
#define THE_WEATHER_CHANNE_BASE_URL @"http://api.wunderground.com/api/"
#define THE_WEATHER_CHANNE_CONDITION_API @"/conditions/q/"
#define THE_WEATHER_CHANNE_FORECAST_10_DAYS @"/forecast10day/q/"
#define THE_WEATHER_CHANNE_HOURLY_API @"/hourly/q/"
#define THE_WEATHER_CHANNE_ASTRONOMY_API @"/astronomy/q/"
#define THE_WEATHER_CHANNE_GETTING_FORMAT_DATA @".json"

//Define for imageloading
#define LOADING_BL @"loading_707070"
#define LOADING_WH @"loading_wh"
#define LOADING_GRAY @"loading_707070"

typedef enum
{
	LOADING_KIND_BIG,
    LOADING_KIND_MED,
    LOADING_KIND_SMALL,
    LOADING_KIND_DEFAULT,
    LOADING_KIND_NO_SZIE,
    LOADING_KIND_NO_SET
    
}LOADING_KIND;

#define DEFAULT_IMAGE  @"no_image.jpg"
#define DIRECTORY @"iWeather_Cache"

// Define for UI
#define FORECAST_CELL 70
#define DELTA_HEIGHT_MODULE 15

#endif
